package cz.proks.easyhelpdesk.gae.api.impl.ws;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import cz.proks.easyhelpdesk.api.CategoryApi;
import cz.proks.easyhelpdesk.api.config.Configuration;
import cz.proks.easyhelpdesk.api.model.Category;

@Controller(Configuration.WS.CATEGORY_API)
@RequestMapping(Configuration.WS.CATEGORY_BASE_URL)
public class CategoryApiImpl extends BaseHelpdeskApiImpl<Category> implements CategoryApi {    
    private final Logger log = LoggerFactory.getLogger(getClass());

    @Autowired
    @Qualifier(Configuration.Core.WS.CATEGORY_API)
    private CategoryApi coreApi;
    
    @Override
    protected CategoryApi getCoreApi() {
        return coreApi;
    }
        
}
